package com.hzdh.account.repository.pay;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.hzdh.account.entity.pay.ToDayBook;
@Mapper
public interface ToDayBookMapper {
    int deleteByPrimaryKey(Long pkid);

    int insert(ToDayBook record);

    int insertSelective(ToDayBook record);

    ToDayBook selectByPrimaryKey(Long pkid);

    int updateByPrimaryKeySelective(ToDayBook record);

    int updateByPrimaryKey(ToDayBook record);

	ToDayBook selectToDayBookByPaycodeTypecode(@Param("payCode")String payCode, @Param("typeCode")String typeCode);

	List<ToDayBook> selectToDayBookAll(Map<String, String> paramMap);

	List<ToDayBook> selectToDayBookByPaycode(String typeCode);
}